home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <!DOCTYPE overlay SYSTEM "chrome://minimap/locale/minimap.dtd">
-
- <overlay id="minimapOverlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <script type="application/x-javascript" src="chrome://minimap/content/rdfds.js"/>
- <script type="application/x-javascript" src="chrome://minimap/content/geooverlay.js"/>
- <script type="application/x-javascript" src="chrome://minimap/content/json.js"/>
- <script type="application/x-javascript" src="chrome://minimap/content/services.js"/>
-
- <menupopup id="viewSidebarMenu">
- <menuitem observes="viewminimap"/>
- </menupopup>
- <broadcasterset id="mainBroadcasterSet">
- <broadcaster id="viewminimap"
- label="&minimap.title;"
- autoCheck="false"
- type="checkbox"
- group="sidebar"
- sidebarurl="chrome://minimap/content/minimap.xul"
- sidebartitle="&minimap.title;"
- oncommand="toggleSidebar('viewminimap'); gdgeourltimeoutff()"/>
- </broadcasterset>
- <toolbarpalette id="BrowserToolbarPalette">
- <toolbarbutton id="minimap-button" class="toolbarbutton-1" type="menu-button" label="&toolbarbutton.minimapper;" tooltiptext="&toolbarbutton.toggle.minimapper;" oncommand="toggleSidebar('viewminimap'); gdgeourltimeoutff()">
- <menupopup >
- <menuitem id="" label="&statusbar.sidebar;" tooltiptext="&statusbar.sidebar;" oncommand="toggleSidebar('viewminimap'); gdgeourltimeoutff(); event.stopPropagation();" />
- <menuitem id="" label="&statusbar.tab;" oncommand="statusMapTab(); event.stopPropagation();"/>
- <menuitem label="Open Map Preview" id="" oncommand="minimapPanel(); event.stopPropagation();" />
- </menupopup>
- </toolbarbutton>
- </toolbarpalette>
- <statusbar id="status-bar">
- <statusbarpanel id="geourl-statusbarff"
- class="statusbarpanel-menu-iconic"
- src="chrome://minimap/skin/status_but.png"
- insertafter="statusbarpanel-progress"
- style="cursor: pointer">
- <label id="geodiscovery-label" value="&statusbar.geodiscovery;" hidden="true"/>
- <menupopup id="geodiscoveryMenuPopup" position="before_start">
- </menupopup>
- </statusbarpanel>
-
-
-
- </statusbar>
- <popupid id="contentAreaContextMenu">
-
- <menuitem id="context-minimap-tab" insertafter="context-searchselect" label="&context.locate.address;" oncommand="minimapContext();"/>
- <menuitem id="context-minimap-sidebar" insertafter="context-searchselect" label="&context.locate.address.sidebar;" oncommand="minimapContextSidebar(); gdgeourltimeoutff()"/>
- <menuitem label="Map Preview" id="context-minimap-panel" insertafter="context-searchselect" oncommand="minimapPanel();" class="menuitem-iconic" image="chrome://minimap/skin/map_but.png" />
-
- <menuitem label="&context.link.maptab;" id="maptab-link-context" insertafter="context-sep-copylink" oncommand="addContextLink('maptab')" />
- <menuitem label="&context.link.sidebar;" id="minimap-link-context" insertafter="context-sep-copylink" oncommand="addContextLink('sidebar')"/>
- <menuitem label="Open Link in Map Preview" id="minimap-panel-link-context" insertafter="context-sep-copylink" oncommand="addContextLink('panel')" class="menuitem-iconic" image="chrome://minimap/skin/map_but.png" />
-
-
- </popupid>
-
- <popupset id="mainPopupSet">
-
- <panel id="mappanel" class="" onpopupshown="mapsPopupShown();" onpopuphidden="mappanelHidden();" hidden="true" style="
- -moz-appearance: none;
- background: rgba(0, 0, 0, .8);
- color: white;
- border: 3px solid #ccc;
- -moz-border-top-colors: #ccc #ccc black;
- -moz-border-right-colors: #ccc #ccc black;
- -moz-border-bottom-colors: #ccc #ccc black;
- -moz-border-left-colors: #ccc #ccc black;
- -moz-border-radius: 10px;
- margin-top: -3px;
- margin-left: -3px;">
- <hbox width="460" height="360" align="start">
-
- <vbox>
- <hbox width="400" maxwidth="400" height="300" style="margin: 15px;" ><image id="mappanelimage" src="" width="400" height="300" style="overflow: hidden" /></hbox>
- <hbox style="margin: 0 15px 15px 15px; border: 1px solid #ccc; -moz-border-radius: 5px; padding: 5px 0 5px 0">
- <vbox>
- <grid>
- <columns>
- <column flex="0"/>
- <column flex="1"/>
- <column flex="0"/>
- </columns>
- <rows>
- <row align="center">
- <label value="From: "/><textbox id="mappanel-from" width="220" clickSelectsAll="true"/>
- <hbox>
- <toolbarbutton tooltiptext="Use Address List item" type="menu" dir="reverse" id="mappanel-from-list" class="geobutc"
- datasources="" ref="" style="color: #000" sortResource="http://www.flock.com/rdf/maps#title" sortDirection="ascending">
- <template>
- <rule>
- <menupopup>
- <menuitem uri="rdf:*" id="rdf:http://www.flock.com/rdf/maps#id" label="rdf:http://www.flock.com/rdf/maps#title" value="rdf:http://www.flock.com/rdf/maps#location" oncommand="mappanelFromReplaceAddress(this.value)"/>
- </menupopup>
- </rule>
- </template>
- </toolbarbutton>
-
- <toolbarbutton id="panelSwitch" class="geobutc" tooltiptext="Switch Addresses" oncommand="panelAddressSwitch();"/>
- </hbox> </row>
- <row align="center">
- <label value="To: "/><textbox id="mappanel-to" width="220" />
- <hbox>
- <toolbarbutton tooltiptext="Use Address List item" type="menu" dir="reverse" id="mappanel-to-list" class="geobutc"
- datasources="" ref="" style="color: #000" sortResource="http://www.flock.com/rdf/maps#title" sortDirection="ascending">
- <template>
- <rule>
- <menupopup>
- <menuitem uri="rdf:*" id="rdf:http://www.flock.com/rdf/maps#id" label="rdf:http://www.flock.com/rdf/maps#title" value="rdf:http://www.flock.com/rdf/maps#location" oncommand="mappanelToReplaceAddress(this.value)"/>
- </menupopup>
- </rule>
- </template>
- </toolbarbutton>
-
- <toolbarbutton id="google" class="geobutc" tooltiptext="Google Directions" oncommand="panelAddressDirections('google')"/><toolbarbutton id="yahoo" class="geobutc" tooltiptext="Yahoo Directions" oncommand="panelAddressDirections('yahoo')"/><toolbarbutton id="microsoft" class="geobutc" tooltiptext="Microsoft Directions" oncommand="panelAddressDirections('microsoft')"/> </hbox></row>
- </rows>
- </grid>
- </vbox>
-
- </hbox>
- </vbox>
- <vbox style="margin: 15px 15px 15px 5px" >
- <toolbarbutton id="addAddressPanel" class="geobutc" tooltiptext="Add to Address List" oncommand="panelAddAddress();"/>
- <toolbarbutton id="panelsidebar" class="geobutc" tooltiptext="Add Address and Open" type="menu">
- <menupopup>
- <menuitem label="Open in Sidebar" oncommand="openSidebarFromPanel('sidebar');" />
- <menuitem label="Open in Map Tab" oncommand="openSidebarFromPanel('maptab');" />
- </menupopup>
- </toolbarbutton>
- <toolbarbutton id="google" class="geobutc" tooltiptext="Open in Google Maps" oncommand="openAddressServicePanel('google');" />
- <toolbarbutton id="yahoo" class="geobutc" tooltiptext="Open in Yahoo Maps" oncommand="openAddressServicePanel('yahoo');" />
- <toolbarbutton id="microsoft" class="geobutc" tooltiptext="Open in Live Maps" oncommand="openAddressServicePanel('microsoft');" />
- <toolbarbutton id="flickr" class="geobutc" tooltiptext="Open in Flickr" oncommand="openAddressServicePanel('flickr');" />
- <toolbarbutton id="panoramio" class="geobutc" tooltiptext="Open in Panaramio" oncommand="openAddressServicePanel('panoramio');" />
- <toolbarbutton id="tagzania" class="geobutc" tooltiptext="Tagzania" type="menu">
- <menupopup>
- <menuitem label="&menuitem.tagzania.post;" oncommand="openAddressServicePanel('tagzania-post');" />
- <menuitem label="&menuitem.tagzania.nearby;" oncommand="openAddressServicePanel('tagzania-nearby');" />
- </menupopup>
- </toolbarbutton>
- <toolbarbutton id="upcoming" class="geobutc" tooltiptext="Open in Upcoming" oncommand="openAddressServicePanel('upcoming');" />
- <toolbarbutton id="geody" class="geobutc" tooltiptext="Open in Geody" oncommand="openAddressServicePanel('geody');" />
- <toolbarbutton id="geonames" class="geobutc" tooltiptext="Open in geoNames" oncommand="openAddressServicePanel('geonames');" />
- <toolbarbutton id="google-earth" class="geobutc" tooltiptext="Open in Google Earth" oncommand="openAddressServicePanel('google-earth');" />
- </vbox>
- </hbox>
-
- </panel>
-
- <panel id="addresslistpanel" hidden="true" class="map-panel" style="
- -moz-appearance: none;
- background: rgba(0, 0, 0, .8);
- color: white;
- border: 3px solid #ccc;
- -moz-border-top-colors: #ccc #ccc black;
- -moz-border-right-colors: #ccc #ccc black;
- -moz-border-bottom-colors: #ccc #ccc black;
- -moz-border-left-colors: #ccc #ccc black;
- -moz-border-radius: 10px;
- margin-top: -3px;
- margin-left: -3px;">
- <vbox width="300" height="230" align="start" style="margin: 15px">
- <label value="Multiple location matches found:"/>
- <listbox seltype="single" id="panel-multiaddress-list" width="300" height="210" context="" onclick="multiAddressAddPanel(this.value);" >
- </listbox>
- </vbox>
-
- </panel>
-
- </popupset>
-
-
- </overlay>
-